package com.cszjzx.member.service;

import java.io.File;
import java.util.Date;
import java.util.List;

import com.cszjzx.member.po.Member;

public interface MemberService {
	
	/**
	 * 根据阶段导入学生表
	 * @return
	 */
	public String inputMembersFromExcel(File file);
	
	/**
	 * 根据学生身份证号查询团员信息
	 * @param idcard
	 * @return
	 */
	public Member getMemberByIdcard(String idcard);
	
	/**
	 * 根据班级ID返回班级的团员信息
	 * @param majorId
	 * @return
	 */
	public List<Member> getMembersByMajorId(int majorId);
	
	public List<Member> getMembersByNameAndValue(String name,String value);
	
	public List<Member> getMembersByProcessAndMajor(int process, String major);
	
	
	
	public void modifyPassword(Member member);
	
	public boolean addMember(String studentId, String password,
			int departmentId, int majorId, String name, boolean sex,
			String idCard, Date birday, int age, String nationality,
			String parentLeague, String childLeague, String phoneNumber,
			String memberClass, String volunteer, String grade,
			String application, double cost, String memberCard, Date joinTime,
			Date graduateTime, Date outTime, String remark, int process,
			String state);
	
	/**
	 * 查找全校信息
	 * @return
	 */
	public List<Member> findAll();
}
